home *** CD-ROM | disk | FTP | other *** search
- Path: Lehigh.EDU!not-for-mail
- From: etl3@Lehigh.EDU
- Newsgroups: comp.lang.c++
- Subject: floating point error
- Date: 22 Feb 1996 18:50:22 -0500
- Message-ID: <4givfu$3229@ns3-1.CC.Lehigh.EDU>
- NNTP-Posting-Host: ns3-1.cc.lehigh.edu
-
- I am running win95 on a PB P90. I installed Borland C++ 4.51 on my computer
- and the installation went smooth. My problem is if I try to enter a floating
- point or double by way of cin >> value I get a error saying floating point
- error - overflow. I declared value as a double but it still doesn't work. I
- took my program to another computer running Borland C++ and it works fine. Is
- there some option that I don't have set properly? This is really going to
- cause some problems if I can't enter in decimal numbers, since I am taking a
- programming course.
-
- If anyone has any information I could really use some. Thanks in advance.
-
- ___________________________________________________________________________
- Eric Lapinski Lehigh University
- etl3@lehigh.edu Computer Engineering
- http://www.lehigh.edu/~etl3/etl3.html
- "Eggs, sausage, chips and beans, and a tea."
- Nick Mason/Pink Floyd-Pompeii
-